#include <wiringPi.h>
#include <iostream>

using namespace std;

#define INPUT_PIN 7


int main()
{
	wiringPiSetup();		// Setup
	pinMode(INPUT_PIN, INPUT);	// Sets pin to INPUT
	while(1)
	{
		cout << digitalRead(INPUT_PIN); 
	}
	
	return 0;
}
